//放生召唤兽 {"序列":4}
// @ts-ignore
export async function execute(client_id,message_json) {
    let login_characters = G.Characters.get_current_login_characters(client_id);
    let index = message_json["序列"]-1;
    if(login_characters["召唤兽"][index]){
        if(login_characters["召唤兽"][index]["参战信息"] === 1){
            ClientUtils.send_basic_prompt(client_id, "参战中无法放生");
            return;
        }
        login_characters["召唤兽"].splice(index,1);
    }
    ClientUtils.send_client_message(client_id, 16, login_characters["召唤兽"]);
    ClientUtils.send_basic_prompt(client_id, "放生成功");
}